package com.yykj.hospital.server.model.repository;

import com.yykj.hospital.server.model.entity.HospitalAdminRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HospitalAdminRoleRepository extends JpaRepository<HospitalAdminRole,Integer> {
    List<HospitalAdminRole> findAllByIdIn(List<Integer> roleIds);
}
